/*
 * Print.java
 *
 * Created on March 29, 2007, 4:56 PM
 *
 * To change this template, choose Tools | Template Manager
 * and open the template in the editor.
 */

package edu.byu.isys413.samlam;

/**
 * print object
 * @author Adam
 */
public class Print extends RevenueSource {
    
    private String photoType;
    private double unitPrice;
    private int quantity;
    private String size;
    private String paperType;
    private int numInSet;
    
    /**
     * Creates a new instance of Print
     * @param id id
     */
    public Print(String id) {
        super(id);
    }

    /**
     * description
     * @return return description String
     */
    public String getDescription() {
        return description;
    }

    /**
     * photo type
     * @return photo type
     */
    public String getPhotoType() {
        return photoType;
    }

    /**
     * photo type
     * @param photoType print
     */
    public void setPhotoType(String photoType) {
        this.photoType = photoType;
    }

    /**
     * get unit price
     * @return unit price
     */
    public double getUnitPrice() {
        return unitPrice;
    }

    /**
     * set unit price double
     * @param unitPrice print
     */
    public void setUnitPrice(double unitPrice) {
        this.unitPrice = unitPrice;
        
    }

    /**
     * get quantity
     * @return quantity of prints
     */
    public int getQuantity() {
        return quantity;
    }

    /**
     * set quantity
     * @param quantity print
     */
    public void setQuantity(int quantity) {
        this.quantity = quantity;
    }


    /**
     * get size
     * @return int size
     */
    public String getSize() {
        return size;
    }

    /**
     * set size
     * @param size set size
     */
    public void setSize(String size) {
        this.size = size;
    }

    /**
     * get paper type
     * @return print
     */
    public String getPaperType() {
        return paperType;
    }

    /**
     * set paper type
     * @param paperType print
     */
    public void setPaperType(String paperType) {
        this.paperType = paperType;
    }

    /**
     * get number in set
     * @return print
     */
    public int getNumInSet() {
        return numInSet;
    }

    /**
     * set number in set
     * @param numInSet print
     */
    public void setNumInSet(int numInSet) {
        this.numInSet = numInSet;
    }
    
    /**
     * calculate price
     * @return double price
     */
    public double calculatePrice() {
        double totalPrice = this.quantity * this.unitPrice;
        return totalPrice;
    }
}
